#include <iostream>
using namespace std;

void fn1();
int x=10;
int y=20;

int main()
{
    cout<<"x="<<x<<endl;
    cout<<"y="<<y<<endl;
    cout<<"Evaluating fn1()"<<endl;
    int x=30;
    int y=40;
    cout<<"x="<<x<<endl;
    cout<<"y="<<y<<endl;
    cout<<"step in fn1"<<endl;
    fn1();
    cout<<"step out fn1"<<endl;
    cout<<"back to main"<<endl;
    cout<<"x="<<x<<endl;        
    cout<<"y="<<y<<endl;

    return 0;
}

void fn1()
{
    int y=200;
    cout<<"x="<<x<<endl;
    cout<<"y="<<y<<endl;

}